package com.fei.k8s.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.fei.k8s.entity.Tbuser;
import com.fei.k8s.mapper.UserMapper;
import com.fei.k8s.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;

    @Override
    public List<Tbuser> queryUsers() {

        return userMapper.selectList(new QueryWrapper<>(null));
    }
}
